@theme-cyan: #5ecca9;
@theme-bule: #3b7eeb;
@theme-orange: #eea73b;
@theme-purple: #6c51a4;

.normal-font() {
  font-weight: normal;
}

// 首页左侧 header
.header {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  color: #fff;

  .blog-name {
    .normal-font();
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0.1em 0.1em 0.2em #fff;

    a:hover {
      text-decoration: none;
    }
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
// 主题
.config-panel .list-inline-item:first-child a {
  background: @theme-cyan;
}
.config-panel .list-inline-item:nth-child(2) a {
  background: @theme-bule;
}
.config-panel .list-inline-item:nth-child(3) a {
  background: @theme-orange
}
.config-panel .list-inline-item:nth-child(4) a {
  background: @theme-purple;
}
  // 回到顶部按钮
.back_top {
  position: fixed;
  right: 40px;
  bottom: 60px;
  cursor: pointer;
  display: none;

  img {
    width: 100px;
    height: 60px;
  }

  &:hover {
    transform: rotate(360deg);
    transition: 0.4s;
  }
}

.footer {
  color: rgba(255, 255, 255, 0.7);

  a {
    color: #fff;
  }
}

// 博客标题
.title a {
  .normal-font();
}

.icon-chilun {
  animation: rotation 2s linear infinite;
  display: inline-block;
  font-size: 22px !important;

  &:hover {
    color: #fff;
  }
}

.icon-chahao {
  font-size: 30px !important;
}

.comment {
  margin-top: 30px;
  margin-bottom: 0;
  .normal-font();
}

.touxiang,
.content {
  float: left;
}

.touxiang {
  margin-top: 10px;

  div {
    margin-top: 5px;
  }
}

// 博客文章评论框
.trangle {
  content: "";
  position: absolute;
  left: -10px;
  top: 28px;
  border-top: 5px solid transparent;
  border-bottom: $border-top;
  border-right: 10px solid Gainsboro;
}

.content {
  padding: 10px;
  background: Gainsboro;
  border-radius: 5px;
  position: relative;
  color: #000;
  margin-top: 10px;
  margin-left: 20px;

  &::before {
    .trangle();
  }

  small {
    text-align: right;
  }
}
.face {
  width: 40px;
  height: $width;
  display: inline-block;
  margin-left: 10px;
}

.floor p {
  text-align: right;
}

.replyedit {
  clear: both;
}

.reply_info {
  display: inline-block;
}

.reply_content {
  padding: 10px;
  background: Gainsboro;
  border-radius: 5px;
  position: relative;
  color: #000;
  margin-top: 10px;
  margin-left: 20px;
  display: inline-block;

  &::before {
    .trangle();
  }
}

.reply_area {
  margin-top: 2rem;
  margin-left: 2rem;
}

.list {
  margin-top: 15px;
}

.list-nav-item {
  margin-top: 15px;
}

.blog-type {
  color: #000;
}

// 博客 logo
.logo {
  font-weight: bold;
  text-transform: uppercase;
  color: #9b59b6;

  > span {
    display: inline-block;
  }
}

.color {
  animation-name: color;
  animation-duration: 1s;
  animation-iteration-count: 2;
  animation-timing-function: linear;
  animation-direction: alternate;
}

@keyframes color {
  50% {
    color: #f1c40f;
    transform: scale(2);
  }

  to {
    color: #e74c3c;
    transform: scale(0.5);
  }
}

.highlightTitle {
  color: red;
}

.pageBtn {
  width: 3rem;
  height: $width;
  line-height: 3rem;
  text-align: center;
  background: #fff;
  color: #0a0a0a;
  font-size: 1rem;
  position: relative;
  margin: 15px;
  border-radius: 50%;
  &:hover {
    color: #000;
  }
}

.comment_smile_icon,
.reply_smile_icon,
.reply_smile_icon2 {
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: 10px;
  right: 10px;
}

.comment_smile_icon:hover,
.reply_smile_icon:hover,
.reply_smile_icon2:hover,
.comment_emoji_item:hover,
.reply_emoji_item:hover,
.reply_emoji_item2:hover {
  cursor: pointer;
}

.emoji_box {
  display: none;
  position: absolute;
  bottom: 30px;
  right: 10px;
  width: 521px; /* DO NOT MODEFY!*/
  height: 200px;
  border-radius: 5px;
  border: 1px solid @theme-cyan;
  background: #fff;
}

.emoji_item {
  cursor: pointer;
}

.fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
}
